package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 基础用户信息表
 * @author Rongjie
 */
@Data
@TableName("mall_user")
@KeySequence(value = "mall_user_SEQ")
@ApiModel(value = "MallUser对象")
public class MallUser implements Serializable{

       @ApiModelProperty(value = "应用id")
       private String appKey;

       @TableId(value = "user_key", type = IdType.UUID)
       @ApiModelProperty(value = "iq")
       private String userKey;

       @ApiModelProperty(value = "头像")
       private String img;

       @ApiModelProperty(value = "电话号码")
       private String tel;

       @ApiModelProperty(value = "地址")
       private String address;

       @ApiModelProperty(value = "姓名")
       private String name;

       @ApiModelProperty(value = "身份证号")
       private String idCard;

       @ApiModelProperty(value = "昵称")
       private String nickName;

       @ApiModelProperty(value = "生日")
       private String birthday;

       @ApiModelProperty(value = "性别", example = "1")
       private Integer gender;

       @ApiModelProperty(value = "邮箱")
       private String email;

       @ApiModelProperty(value = "用户注册类型 手机验证码登录注册：PHONE ,密码注册：COMMON；微信登录注册：WECHAT")
       private String registerType;

       @ApiModelProperty(value = "创建时间", example = "1")
       private Integer createTime;

       @ApiModelProperty(value = "修改时间", example = "1")
       private Integer updateTime;

       private Integer loginTime;

       private String password;

       private String passwordHash;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

       private Integer isDownload;

}
